<?php $this->_extends('_layouts/main_layout'); ?>
<?php $this->_block('title'); ?>
	Landing Urls
<?php $this->_endblock(); ?>

<?php $this->_block('contents'); ?>
<div id="content" class="box">
	<h1>Landing Urls</h1>
		<?php if (isset($infos)) 
				{
					foreach ($infos as $info)
					{
		?>
				<p class="msg info"><?php echo $info;?></p>
		<?php		}
				}
		?>
		<fieldset>
			<legend>Landing Urls</legend>
		<?php if (isset($errors)) 
				{
					foreach ($errors as $error)
					{
		?>
				<p class="msg error"><?php echo $error;?></p>
		<?php		}
				}
		?>
		<form method="post" action="<?php echo url('landingurl/add');?>">
		<table class="nostyle">
			<tr>
				<td>Url:</td>
				<td><input type="text" class="input-text" name="url" value="<?php if (isset($landingUrl['url'])) echo $landingUrl['url'];?>"/></td>
			</tr>
			<tr>
				<td colspan="2" class="t-right"><input type="submit" class="input-submit" value="Save"/></td>
			</tr>
		</table>
		</form>
	</fieldset>
</div>
<?php $this->_endblock(); ?>